/*
 * @Author: 李瑞清
 * @Date: 2023-06-02 10:39:49
 * @LastEditors: 李瑞清 alger_li@163.com
 * @LastEditTime: 2023-06-06 10:08:14
 * @FilePath: \oms\scprit\followup\app\pumpBreastStatistics\pumpBreastStatisticsDetail.server.js
 * @Description: 
 */
define([
    'jquery',
    'bbcare'
], function ($, $bb) {
    var servers = {}, URL = $bb.baseUrl('followup')

    servers.getDetail = function (param, callback) {
        $bb.ajax({
            url: URL + 'service/dumpChart/patient/times/statistics',
            data: JSON.stringify(param),
            success: function (res) {
                if (res.success) {
                    callback(res.data)
                } else {
                    $bb.toastShow('')
                }
            }
        })
    }

    return servers
})